//
//  ViewController.m
//  Tutorial
//
//  Created by Forensic on 11/11/2556 BE.
//  Copyright (c) 2556 Forensic. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)buttonhandler:(id)sender {
    self.textbox.text=@"hello";
    }
- (IBAction) unwind:(UIStoryboardSegue*) segue{}

- (BOOL)textFieldShouldReturn:(UITextField *)tf {
    [tf endEditing:YES];
    return NO;
}
- (IBAction)Longpress:(id)sender {
    self.textbox.text=@"hello";
}
@end
